Webhook in UAE E-Invoicing
A webhook is a real-time event notification mechanism that allows systems to automatically receive updates when certain actions occur.
In the UAE e-invoicing context, webhooks are typically used by Accredited Service Providers (ASPs) to notify your ERP system about the status of invoices.
Instead of continuously polling APIs, your system can receive instant updates whenever there is a change.
Webhooks play a critical role in automating invoice workflows:
- Real-time status updates (Accepted, Rejected, Pending)
- Faster processing without manual checks
- Reduced API calls (no need for constant polling)
- Improved system synchronization
Common Webhook Events
In UAE e-invoicing, the following events are typically triggered:
- Invoice Submitted
Triggered when an invoice is successfully sent to the network. - Invoice Validated
Occurs after schema and compliance checks are completed. - Invoice Accepted
Indicates that the invoice is reported or delivered. - Invoice Rejected
Triggered if validation fails - Invoice Delivered
Indicates that the invoice has been successfully delivered to the buyer.
Webhook Flow (How It Works)
- ERP (e.g., ERPNext) sends invoice via API
- ASP processes and validates the invoice
- Event occurs (e.g., Accepted/Rejected)
- ASP sends webhook notification to your system
- ERP updates invoice status automatically